package com.sk.bilibili.bean;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sk.bilibili.other.ExtraMap;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author 邵康
* @date 2021/11/26 19:24
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Danmu {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer memberId;
    private Integer color;
    @ApiModelProperty("除了视频id  id不需要其他都需要")
    private Integer videoId;
    private String content;
    private Float time;
    private Integer type;
    @TableField(exist = false)
    private ExtraMap extra=new ExtraMap();

}
